<template>
  <div class="login spage">
    <myhead title="登录" :back="true" :login="true"  ></myhead>
    <van-tabs v-model="active" title-active-color="#ee0a24">
      <van-tab title="密码登录" name="1">
          <loginpass></loginpass>
      </van-tab>
      <van-tab title="验证登录" name="2">
          <logincode>
            
          </logincode>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import loginpass from "./loginpass.vue";
import logincode from "./logincode.vue";

export default {
  data(){
    return {
      active:'2'
    }
  },
  components:{
    loginpass,
    logincode
  }
}
</script>
